Multi-layered online calendaring and purchasing

ABSTRACT

A computer-implemented method and system for generating and displaying a calendar containing user-selected events from user-selected categories. A plurality of categories of events are provided. The user can select which categories are of interest, and then select individual events within those categories. Events are overlaid on a calendar unique to the user. Calendars may also be shared among a number of selected users, if desired. Online purchasing and related actions can be associated with each event.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a continuation of U.S. Ser. No. 09/265,515 filed Mar. 10, 1999 (attorney Docket No. WHEN0001).

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention relates generally to software for generating and manipulating computer-implemented planning calendars, and more particularly to a system and method of multi-layered online calendaring and purchasing.

[0004] 2. Description of Background Art

[0005] Conventional software applications for calendaring and scheduling generally take one of two forms: stand-alone or networked. In a stand-alone calendaring application, some sort of user interface is provided which allows a user to specify dates and times for events. Events may then be viewed on a day-by-day, week-by-week, or month-by-month basis, depending on the user's wishes. In many such applications, selective viewing of certain predefined categories of events is provided.

[0006] An example of a stand-alone calendaring application is Òln ControlÓ by Attain Corporation. Many other calendaring applications are available which offer similar features. In Òln ControlÓ, three views of the user's calendar information are available: Outline, Calendar, and Day. Outline View allows the user to view events in a list format, and also permits hierarchical arrangement of the event descriptions. A date and time can be associated with each event, and the user can also specify other types of information, such as priority, description, and the like. In Calendar View, a conventional calendar is displayed. Events from the Outline View are shown on the calendar in their appropriate locations according to the date associated with each event. The user can specify the range of dates to be displayed, such as for example one week, two weeks, or one month. In Day View, events for a single day are shown on a display resembling a conventional paper day-planner. Items having a specific time are shown within the daily schedule at the appropriate time. Events not having a specific time are listed in a ÒTo-DoÓ list next to the scheduled events.

[0007] Stand-alone calendaring applications, such as Òln ControlÓ, are effective for managing one's calendar, but they do not provide an easy mechanism for importing events from an outside source in an automated manner. For example, if a user is planning to attend a baseball game at 7:30 p.m. on Thursday, the entry for the baseball game must be manually entered in the calendaring application. Such applications do not provide an easy way to automatically import such information from, for example, a list of sporting events from an outside source. The following disadvantages present themselves:

[0008] Manual entry of events is prone to errors;

[0009] If the scheduled event changes, the user may not be aware of the change and may fail to reflect it in the calendar; and

[0010] The above-described method does not provide a way to inform the user of events that may be of possible interest.

[0011] In addition, stand-alone applications do not provide the capability of sharing one's calendar information with other users.

[0012] Some prior art calendaring applications operate in a networked environment and thereby allow sharing of calendar information. Individuals' calendar information can be shared across a network connection (if the owner of the information grants permission for such access). Applications such as Microsoft Outlook, from Microsoft Corporation, provide this type of functionality. However, such applications do not generally provide the ability to import event information from outside sources on a category-by-category basis, and then to select individual events from selected categories for inclusion in a user's personal calendar. Furthermore, such applications do not provide a multi-layered calendaring system wherein events belonging to different categories and selected by a user can be overlaid on one another in a single integrated calendar.

[0013] Relatively recently, hosted calendaring applications have been developed which store, in a central location, all calendaring information for a large number of users. Such prior art systems include, for example, appoint.net (www.appoint.net), Yahoo! Calendar (calendar.yahoo.com), and EventCenter from Amplitude Software Corp. (www.amplitude.com). Users access their calendar information across a network, such as the Internet, and security is assured by requiring that each user provide a login and password when accessing the system.

[0014] Some of these hosted calendaring systems allow users to add events from outside sources to their personal calendars, if desired. In general, however, such capability is limited in its flexibility. In particular, none of these calendaring systems allow a user to select a category of events, and subsequently add individual events from the category to a personal calendar. Furthermore, none of these systems provide a multi-layered calendaring system wherein events belonging to different categories and selected by a user can be overlaid on one another in a single integrated calendar.

[0015] What is needed is a calendaring application that allows a higher level of flexibility in the way events can be imported and viewed.

[0016] What is further needed is a calendaring application that permits a user to select categories of events that are of interest, and which provides features allowing a user to add selected events from those categories to his or her personal calendar.

[0017] What is further needed is a calendaring application that allows a user to associate layers with certain subsets of events, and to selectively view any desired combination of layers in an integrated manner on a personal calendar page.

[0018] What is further needed is a calendaring application that allows a user to share selected calendar information, including selected events, with other users.

[0019] What is further needed is a calendaring application that allows a user to purchase products, services, or tickets associated with an event, using online communication means.

SUMMARY OF THE INVENTION

[0020] In accordance with the present invention, there is provided a multi-layered online calendaring and purchasing system and method which allows a user to specify categories of events, to view events belonging to the specified categories from outside sources, and to add selected events from the outside sources to a personal calendar. The user can choose which categories of selected events are to be displayed, in any combination he or she desires. The user's personal calendar can also be shared with other users, or selected events and/or categories can be shared, as desired. The user can set up a group calendar, specifying the members in the group, where every group member can access the calendar and make changes to it. Different levels of access can be specified for different members of the group. The user can also import events from other users' calendars. In addition, purchases of products, services, or tickets can be effected using links associated with displayed events.

[0021] A user logs onto the calendaring system by providing a unique login name and password that identifies the user and allows the system to retrieve that user's personal calendar and associated information. In one embodiment, as described below, the calendaring system is hosted on a server that is connected to the Internet, and the user logs in by interacting with the server via a web page.

[0022] Once the user has logged in, he or she can enter any of several different areas of the system, in order to perform different types of activities. An Event Directory allows the user to select categories of events that are of interest. An Event Tracker allows the user to view events associated with selected categories, to obtain more details concerning such events, and to selectively add events to the user's personal calendar. A My Calendar area provides several views of the user's personal calendar, including events that were selected using the Event Tracker, as well as events that have been manually added by the user. In the My Calendar area, the user is able to view and manipulate any of these events. Finally, a What's New area is available for alerting the user to new categories and events that may be of interest; this area may also be used to emphasize particularly important events.

[0023] The Event Directory provides listings of event categories, preferably arranged by area of interest. Event categories include, for example, movie opening dates, sporting events, computer tradeshows, and the like. Users can develop their own event categories and share them with other users by publishing them on the Event Directory. The user can click on any event category and view a list of events belonging to that category. Additional information can be obtained for each of the events. The user can choose to select any event categories for inclusion in the Event Tracker. The user can also select a ÒlocalizedÓ option which restricts events to those located in the user's city, state or other region.

[0024] The Event Tracker displays a list of events belonging to the selected categories. The user can select from several different views of the displayed events and can also choose to view one category at a time, or all categories at once. Events can be sorted by date or by category, as desired. The user can click on a button to add a particular event to his or her personal calendar. In addition, the user can click on a button for online ordering and purchasing of products, services, or tickets as appropriate for the particular event.

[0025] The My Calendar area provides an extremely flexible and configurable personal calendar. The user can choose from daily, weekly, or monthly views, and can select particular categories of events to be displayed, or can choose to see all events. Thus, the system provides a multi-layered calendar, where each layer corresponds to an event category. Viewing multiple categories simultaneously provides an integrated personal calendar showing all events in one place. The user can add appointments and other events manually in the My Calendar area, and such events are displayed alongside events that were selected in the Event Tracker. The user can also specify that he or she would like to be notified when an event is about to occur, either by e-mail or by some other communications means. Finally, the user can specify whether he or she would like to share the personal calendar with other users.

BRIEF DESCRIPTION OF THE DRAWINGS

[0026]FIG. 1 is a block diagram of the overall architecture of an embodiment of the present invention.

[0027]FIG. 1A is a block diagram of an application server according to the present invention.

[0028]FIG. 1B is a block diagram of the services implemented in one embodiment of an application server according to the present invention.

[0029]FIG. 2 is a block diagram of an embodiment of a client computer for practicing the present invention.

[0030]FIG. 3 is a functional block diagram of a block diagram of the functional components of the user interface of the present invention.

[0031]FIG. 4 is a screen shot of a login page.

[0032]FIG. 5 is a screen shot of a What's New page.

[0033]FIG. 6 is a screen shot of an Event Directory page.

[0034]FIGS. 7A and 7B are screen shots of an example of an event schedule in month view.

[0035]FIG. 8 is a screen shot of a Month View of a Favorite Events screen.

[0036]FIG. 9 is a screen shot of a Week View of a Favorite Events screen.

[0037]FIG. 10 is a screen shot of a Day View of a Favorite Events screen.

[0038]FIG. 11 is a screen shot of a Day View of a My Calendar screen.

[0039]FIG. 12 is a screen shot of a Week View of a My Calendar screen.

[0040]FIG. 13 is a screen shot of a Month View of a My Calendar screen.

[0041]FIG. 14 is a screen shot showing a My Calendar detail screen.

[0042]FIG. 15 is a block diagram showing the collection of events data according to the present invention.

[0043]FIG. 16 is a flowchart showing basic operation of a default Execute method.

[0044]FIG. 17 is a flowchart showing a user authentication process.

[0045]FIG. 18 is a block diagram of the operation of a template processor to generate an HTML file.

[0046]FIG. 19 is a diagram showing a document template having several parts.

[0047]FIG. 20 is a block diagram of the detailed operation of a template processor to generate an HTML file.

[0048]FIG. 21 is a block diagram of a calendar service according to one embodiment of the present invention.

[0049]FIG. 22 is a block diagram showing an example of an object ownership hierarchy.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0050] System Architecture

[0051] Referring now to FIG. 1, there is shown a block diagram of the system architecture of an embodiment of the present invention. System 100 is implemented in a networked computing environment. Individual elements communicate with one another using standard protocols such as, for example, Transfer Control Protocol/Internet Protocol (TCP/IP) and Hypertext Transfer Protocol (HTTP), over a data communication line such as a T1 or T3 line. Other implementations are also possible, and system 100 may even be implemented on a non-networked computer, if desired.

[0052] In one embodiment, the present invention operates in a networked environment such as the Internet or an intranet, and pages are provided for user access and interaction via a browser over the World Wide Web 116, as is known in the art.

[0053] Director 101 connects an individual client computer (not shown) to system 100. Director 101 handles the low-level interaction with an individual client computer, and accepts input and output for transmission to and from web servers layer 102. In one embodiment, where several load balancers 105 are provided within layer 102, director 101 selects the least loaded load balancer 105 for connection, so that the load is relatively balanced among the components of web servers layer 102. Director 101 is also able to invoke a thread to determine if the user is a new or returning user, based on either 1) the particular Uniform Resource Locator (URL) string used to connect to system 100; or 2) a ÒcookieÓ file that has previously been stored on the user's machine. If the user is a returning user, director 101 can call a What's New page which retrieves personal calendar information from database servers layer 104 and presents relevant information to the user as appropriate.

[0054] In one embodiment, director 101 is implemented using Big IP, from F5 Labs, Inc., for connecting web servers layer 102 to the World Wide Web 116 in a multiplexed manner for optimal load balancing.

[0055] Web servers layer 102 contains one or more load balancers 105 for determining which application server 106 is best able to handle a particular connection for a particular user. In one embodiment, load balancers 105 are implemented as Sun Microsystems Ultra 5 servers running a load balancing client. New users are sent to the least-loaded application server 106. Returning users are sent to the application server 106 containing the process that serviced the user during the most recent connection with that user. This technique advantageously facilitates access to a previously stored user cache, which improves performance as will be described below in connection with FIG. 1A. A long-term memory (LTM) 107 provides a mechanism for storing information as to which process serviced the user in the past, so that this information can be retrieved by load balancers 105 upon the user's return.

[0056] Application servers layer 103 contains one or more application servers 106. Application servers layer 103 provides an intermediate layer between database layer 104 and web server layer 102. Application servers 106 run the software code for interacting with database layer 104 and for retrieving, modifying, and storing data in databases 112 and 114. In one embodiment, each application server 106 is a Sun Microsystems Enterprise 450 server.

[0057] Database servers layer 104 contains databases such as personal calendar information database 112, events database 114, and the like, for maintaining scheduling and other information for users of the system, and also maintaining information describing scheduled events and announcements. In one implementation, individual databases within layer 104 are stored on separate database servers such as Sun Microsystems Enterprise 4500 servers. Databases may be stored in parallel redundant fashion for backup purposes. Personal Calendar Information database 112 contains various types of data, including personal event data 111 for various users. Events database 114 can also connect with other data sources (not shown) as desired, so that information describing events can be imported and made available to users of system 100.

[0058] In an alternative embodiment, each database in database servers layer 104 can be split into a plurality of smaller databases, each for a subset of users.

[0059] Referring now to FIG. 1A, there is shown a block diagram of an application server 106 according to one embodiment of the present invention. Application server 106 serves personal calendars, event directory contents, user profiles, and other types of pages to users in response to Hypertext Transfer Protocol (HTTP) requests relayed by load balancers 105 in web servers layer 102. In one embodiment, server 106 is implemented as a set of shared libraries that are dynamically linked and loaded at runtime.

[0060] Application server 106 is capable of running a number of processes 108 simultaneously. Upon initial connection by a particular user, the user is assigned to a selected process 108, based on load balancing parameters.

[0061] Each process 108 contains a number of simultaneously-executing application threads 115. Application server processes 108 interact with user cache 109, which provides temporary storage of personal calendar information for particular users. Such information may include, for example, the user's selected settings and options, favorite events, and other information. Cache 109 obtains information from personal calendar information database 112 as needed, and writes information to database 112 when appropriate. Cache 109 provides improved performance by obviating the need for a direct connection between process 108 and database 112. In one embodiment, cache 109 for a particular user is released from memory when either some predetermined time period expires, or when memory is needed and that user's data is the oldest cache 109 that has not yet expired.

[0062] Process 108 also interacts with event cache 110, which provides temporary storage of event data taken from events database 114.

[0063] In one embodiment, process 108 remembers where a particular user's cache 109 is located, so that if the user returns to the site (i.e. re-establishes a connection) and his or her cache 109 is still available, process 108 is able to utilize the cache 109.

[0064] Referring now to FIG. 1B, there is shown a block diagram of the services implemented in one embodiment of an application server 106 according to the present invention. Application implementation 121 implements each page of the user interface using templates and a component-driven user interface implementation. Application implementation 121 also parses HTTP parameters and generates HTML output for pages. Utilities 122 include implementations for parsing and formatting functions, high-level calendar operations, and e-mail notification services. Session management 123 authenticates, tracks, and manages user sessions for calendaring operations, and stores a cache of user and calendar data as needed to maintain sessions. Calendar service 124 implements the core object model for accessing user profiles, calendars, events, calendar links, and collections of objects. Service 124 also implements event lookup, object caching, and persistence. Finally, service 124 serves both personal calendars and event directory data using a common object model. Other services 125 provide access to non-calendar-oriented data services such as weather, horoscope, and application configuration settings. The operation of the relevant components of application server 106 to implement the present invention will be described in more detail below.

[0065] Client Computer

[0066] Referring now to FIG. 2, there is shown a block diagram of a client computer 200 that can be connected to system 100 for practicing the present invention. In one embodiment, client computer 200 is implemented on a personal computer running the Microsoft″ Windows^(a) 95 operating system on an Intel″ Pentium″ processor. The user interacts with the present invention by establishing a network connection with director 101 over the World Wide Web 116 using a TCP/IP connection and a browser application running on the aforementioned client computer 200. Thus, as the user operates the present invention, he or she is presented with interactive web pages that provide information and accept input, as is known in the art. One skilled in the art will recognize that other embodiments, including other types of software applications, processors, and operating systems, are also possible.

[0067] In the block diagram of FIG. 2, client computer 200 is shown having a central processing unit (CPU) 201, display device 202, input device such as a pointing device 203, random access memory (RAM) 204, and storage device 205. Also provided is a connection 207 to a network such as the World Wide Web 116, in order to establish contact with system 100 of the present invention. The following detailed description of the invention will make reference to exemplary implementations of such components, though other embodiments may also be used. For example, CPU 201 is a microprocessor such as an Intel Pentium processor; display device 202 is a conventional monitor or screen such as a cathode-ray tube (CRT); pointing device 203 is a mouse or trackball, though other input devices such as keyboards can also be used; RAM 204 is some quantity of conventional memory as is commonly supplied with personal computers; storage device 205 is a hard disk or similar device for long-term storage of programs and data; and Internet connection 207 is implemented using known protocols such as TCP/IP across a modem, T1 or T3 line, or other connection medium.

[0068] In a preferred embodiment, the user interacts with system 100 using a browser application. Such browsers are well known in the art, including for example Netscape Navigator and Microsoft Internet Explorer. One skilled in the art will recognize that other embodiments of the invention, that may operate without use of a browser, are also possible.

[0069] For purposes of this description, the terms ÒpageÓ and ÒscreenÓ are used interchangeably to refer to a user interface element presented to the user via the browser.

[0070] User Interface and Application Operation

[0071] Referring now to FIG. 3, there is shown a block diagram of the functional components of the user interface of the present invention. Each of the functional components shown in FIG. 3 will be described in more detail below, with reference to specific screen shots and other user interface elements. As will be seen below, each element in FIG. 3 may be implemented as a web page in an Internet-based application. The user can navigate among the various pages shown by clicking on links in hypertext documents, as is known in the art of browsing web pages. As will be shown in other Figures, one embodiment of the present invention uses a metaphor showing ÒtabsÓ for navigation among the pages.

[0072]FIG. 3 also illustrates the overall task flow 300 of one embodiment of the present invention, with connections between elements representing hypertext links from one page to another. Home/login page 301 welcomes the user to the application or website, upon initial connection. The user may elect to login at this point by providing input specifying a login identifier and password. This allows system 100 to retrieve user-specific information, by reference to a record stored in database 104 of the system.

[0073] If the user has not used the system before, he or she is prompted to sign up in 302, by selecting a login identifier and password for future reference. A new record is created and stored for the user. The user is also given the option of signing up in a group using the group sign-up page 304, which allows the user to share his or her calendar with other members of selected groups. Page 303 contains a description of groups and their operation.

[0074] Once the new user has signed up using 302 and/or 304, a welcome page 305 is presented, confirming that the user's record has been stored in the system.

[0075] Once the user has been identified via user login 301, or signed up and welcomed (302, 304, and 305), a What's New page 306 is presented. As will be described in more detail below, What's New page 306 highlights important events and announcements that may be of interest to the user. New event calendars may also be presented in this screen. In addition, in one embodiment of the present invention wherein shared group calendars are employed, the What's New page 306 can inform users of changes to shared calendars. Finally, the system can display reminders of upcoming events which the user has previously selected.

[0076] Event Directory pages 317-319 provide a directory of event categories including Event Directory Contents 317 containing an overall list of event categories, Event Category Home Pages 318, containing descriptions of each of the event categories, and Event Category Subdivisions 319, containing descriptions of subdivisions within particular event categories.

[0077] From any of pages 317-319, the user can view schedules of events belonging to a selected category or subdivision. Such event schedules can be viewed in several different formats, such as for example a Day View 320, a Week View in grid format 321, a Week View in list format 322, a Month View in grid format 323, and a Month View in list format 324. Each of these views provide a display of a number of events belonging to a particular category or subdivision. The user can click on a particular event in any of views 320-324 to see an Event Details page 325 showing details for the selected event.

[0078] The user can select individual event categories and/or subdivisions for display in Favorite Events pages 313-315. Selecting an event category in this manner is referred to as ÒsubscribingÓ to the event category. Favorite Events pages 313-315 display selected events in either a Day View 313, a Week View 314, or a Month View 315. Pages 313-315 allow a user to select individual events from the selected categories, to be added to the personal calendar. The user can also access an Edit Favorites page 316 which allows him or her to add or remove categories and/or subdivisions from display in Favorite Events pages 313-315.

[0079] My Calendar pages 307-310 provide access to the user's personal calendar. My Calendar pages 307-310 show an integrated, multi-layer overview of events from selected categories, as well as manually-entered events. Several displays are available, including a Day View 307, a Week View in list format 308, a Week View in grid format 309, and a Month View 310. Details on any appointment or event are available from the Details page 311. In one embodiment, system uses Event Details page 325 to show details of a selected event that was previously selected from the Event Directory, and Appointment Details page 311 to show details on manually-entered events and appointments. An Options page 312 is also provided, for configuring and selecting among various system options and preferences. Events and appointments can be added, modified, or deleted as desired.

[0080] Help pages 326 are provided to assist the user in using the various components of the system. The user can retrieve a selected help page 326 by clicking on a ÒHelpÓ link on any of the pages in the system.

[0081] Referring now to FIG. 4, there is shown a screen shot of a Login page 301 according to one embodiment of the present invention. As with all pages discussed herein, Login page 301 is presented as an HTML page that may be displayed to the user on a conventional browser screen, though other embodiments may use different techniques for presenting user interface elements to the user. Login Name field 402 and password field 403 are provided for the user to enter relevant information allowing the system to identify him or her. In response to the user entering the information, system 100 retrieves centrally stored user-specific information 111 from database 112, including user preferences and personalized calendar information. As described above, such information is retrieved from user cache 109 if available.

[0082] Login page 301 also provides links to other pages, for initial sign-up 404, on-line help 407, event categories 406, and miscellaneous information about the service 405.

[0083] Referring now to FIG. 5, there is shown a screen shot of a What's New page 306 according to one embodiment of the present invention. A personalized welcome greeting 501 is displayed, as well as any important announcements 502. The information displayed in What's New page is taken from the user's individual records in database 112.

[0084] In an alternative embodiment, the What's New page provides information describing changes to shared calendars, new features, and other relevant information. Reminders of upcoming events which were previously selected by the user can be provided as well.

[0085] Navigation bar 507 provides links to other pages in system 100, including My Calendar pages 307-310, Favorite Events pages 313-315, and Event Directory pages 317-319. Buttons 503 and 504 provide access to Event Directory pages 317-319 and My Calendar pages 307-310, respectively. Links 505 provide access to a Group Calendar feature, as described in more detail.

[0086] In one embodiment, a list of new event categories is provided (not shown). This list may include any categories that have been added to system 100 since the user last logged on, or it may be a list of new categories that are related to other categories to which the user has previously subscribed. Thus, system 100 is able to provide event category suggestions that are likely to be of interest to the user, based on his or her previous behavior. The user can select one or more event categories from the list. If desired, the user can obtain additional information on event categories.

[0087] Page 306 shown in FIG. 5 is one example of a What's New page according to the present invention. Other configurations of the What's New page are also possible, without departing from the spirit or essential characteristics of the present invention. In particular, additional information can be provided on this page, such as announcements regarding changes to event categories to which the user has previously described. Also, the What's New page may be configurable, so that the user can select what kind of information is displayed there.

[0088] Referring now to FIG. 6, there is shown a screen shot of an Event Directory Screen 317. Hyperlinks 601 to event categories are displayed, allowing the user to obtain more information, and if desired, ÒsubscribeÓ to that event category. Each hyperlink 601 links to an Event Category Home Page 318 providing detailed descriptions of event categories. Each event category is a group of related events to which the user can subscribe, if desired. Event categories can include, for example, sports team schedules, movie release dates, schedules of conferences on a particular topic, meeting schedules related to a particular project or company, and the like.

[0089] Event categories and related information describing individual events are provided to system 100 and stored in events database 114. Such information may be provided by external sources, such as online services listing scheduled events, as described below in connection with FIG. 15. Alternatively, such information may be manually entered in events database 114 by a system operator. In one embodiment of the present invention, individual users may provide user-defined categories in the form of group calendars including scheduled events the user wishes to share with other users. For example, a project leader may create a personal calendar including meetings and deadlines related to the project, and then share that personal calendar as a group calendar. Other users involved with the project may then subscribe to the group calendar as an event category. If desired, security measures may be provided restricting. access to a group calendar, so that only selected users can retrieve the information.

[0090] In one embodiment, a search field (not shown) is provided to allow interactive searching of the event directory.

[0091] Referring now to FIG. 15, there is shown a block diagram illustrating the collection of events data according to one embodiment of the present invention. The process performed by the apparatus of FIG. 15 receives event feeds from content partners, processes the event data, and stores them in event database 114. Information from database 114 is cached into shared memory for access by application server processes as needed. The elements of FIG. 15 are implemented as a collection of programs and scripts for automated operation and import of event data.

[0092] Loaders 1502 are software scripts resident in database servers layer 104 for extracting events data from external data sources 1501 such as web pages, publicly-accessible files and databases, and the like. In one embodiment, loaders 1502 are configured to extract such data on a regular basis from a predefined set of sources 1501. For example, a loader 1502 might be configured to run a File Transfer Protocol (FTP) operation to obtain data from a source 1501 at 9:30 a.m. every Tuesday morning, then to run the obtained data through a formatter to create a Structured Query Language (SQL) file, and finally to run a script which loads the data from the SQL file into events database 114. Loaders 1502 may obtain information from data sources 1501 by any conventional means, such as for example: FTP pull (FTP operation initiated by loader 1502); FTP push (FTP operation initiated by data source 1501); web page push (Hypertext Transfer Protocol (HTTP) operation initiated by data source 1501); or Hypertext Markup Language (HTML) spider (automated traversal through a series of HTML pages on the World Wide Web).

[0093] Once loaders 1502 have collected information from data sources 1501, the data is formatted and written to events database 114. Users 1503 may also provide user-published events 1504 manually, which are also added to events database 114. In addition, a group calendars database 1506 may be provided for storing events information related to a particular predefined group of users. Users 1503 can contribute event information that they would like to share with other users 1503 in a particular group. Such event information is written to group calendar database 1506 and then transferred to events database 114.

[0094] In one embodiment, application servers 106 read and operate on event data using an event cache 110 (see FIG. 1A) in order to provide improved performance. In order to facilitate such operation, a cache generation (GenCache) operation 1505 is provided. GenCache operation reads events database 114 on a regular basis (e.g. daily) and generates an Event Cache file 110A containing selected event data in a format that can be transferred to RAM. In general, it is preferable if Event Cache file 110A contains data that is likely to be accessed, so that such access can be achieved without resorting to additional reads from events database 114. Once Event Cache file 110A has been generated, it is written to event cache 110 in application server 106. Event cache 110 is RAM-resident in server 106 and is therefore capable of being accessed more efficiently than can events database 114.

[0095] Once event cache 110 is in place, individual processes 108 can access events data from cache 110 as needed. If a particular event datum is not present in cache 110, application server 106 initiates a read from events database 114 to obtain the needed information.

[0096] Referring now to FIGS. 7A and 7B, there are shown screen shots of the Event Schedule Month View in list format 324 and in grid format 323. Screen shots 324 and 323 may be displayed, for example, when a user selects a particular event category by clicking on one of the links 601 in the Event Directory screen 317. In screen 324, the user may click on grid button 703 to be transferred to screen 323. In screen 323, the user may click on list button 704 to be transferred to screen 324. Buttons 705 allow the user to view other time periods besides the one being displayed. In one embodiment, the information displayed in screens 324 and 323 comes from events database 114, which in turn may be collected from external sources, as described above in connection with FIG. 15.

[0097] Events 706 belonging to the selected event category are shown in list form in screen 324, or in grid form in screen 323. The user can obtain additional detail regarding any listed event 706 by clicking on the link associated with the event 706. System 100 then displays an event detail page (not shown) containing the additional detail.

[0098] The user can subscribe to the displayed event category by clicking on Tracker button 702. Events from the event category will then appear on the Favorite Events screens 313-315, as described below. In addition, in one embodiment the user can add individual events to his or her personal calendar without subscribing to the event category, by clicking on a button within the event detail page (not shown), or on a button (not shown) on screen 324 or 323.

[0099] Referring now to FIG. 8, there is shown a screen shot of a Month View 315 of a Favorite Events screen according to one embodiment of the present invention. Favorite Events screen allows the user to view events from selected categories to which he or she has subscribed. The user can select whether to view all events for a time period from subscribed categories, or to view events only from selected subscribed categories. Thus, the subscribed categories can be thought of as ÒlayersÓ which can be placed on top of one another and viewed together, separately, or in any combination. This layering concept extends to views of the user's personal calendar, as will be seen below. Buttons 802 specify individual event categories for display, which the user can select in any combination desired. In one embodiment, buttons 802 are provided for each event category to which the user has previously subscribed. Screen 315 shows all events belonging to the selected event categories in the month being displayed. Update button 803 takes the user to the Event Directory screens 317-319 (see above), where he or she can subscribe or unsubscribe to event categories.

[0100] In one embodiment, the Favorite Events screen also contains event categories representing shared group calendars of other users. Thus, users can create personal or work-related group calendars which can be shared and subscribed to as are public calendars. Such group calendars are listed as additional buttons 802, allowing the user to select or de-select individual group calendars are view associated events as desired, ÒlayeredÓ on top of other displayed events in screen 315.

[0101] In one embodiment of the Favorite Events screen, several different views of events are available. For example, the user may select from a Day View 313, a Week View 314, or a Month View 315. Navigation bar 801 provides links to the available views. Navigation bar 507 provides links to other screens, as described elsewhere in this disclosure. Additional buttons are provided, including an Edit button 804 which allows the user to change personal preferences, a Help button 805 for providing access to Help pages 326, and a Log Out button 806 which exits the system.

[0102] A checkbox 904 is provided for each event 903. The user can add an event 903 to his or her personal calendar by clicking on the associated checkbox 904 and clicking on button 807. Other mechanisms may be provided for adding individual events, or groups of events to the user's personal calendar. The particular user interface configuration to be used may depend on the characteristics of the network on which system 100 is implemented.

[0103] Referring now to FIG. 9, there is shown a screen shot of a Week View 314 of a Favorite Events screen according to one embodiment of the present invention. As with screen shot 315, the user can select individual events belonging to subscribed categories, for inclusion in his or her personal calendar. The week-long view of FIG. 9 shows one week's worth of events in a columnar format.

[0104] Navigation bar 507 provides access to other screens of system 100. Buttons 802-806 provide the same functionality as described above in connection with FIG. 8; namely, these buttons allow the user to specify which event categories are to be displayed (or overlaid on one another) in the Favorite Events screen, and also provide Edit, Help, and Log Out functions. Navigation bar 801 allows the user to navigate among Day View 313, Week View 314, and Month View 315 of the Favorite Events screens.

[0105] In the Week View shown, each day of the week is displayed as a column 902. The user can click on the column header to see a Day View 313 for the selected day. Within each column 902, events 903 are listed in a grid format by time of day, with a separate space provided for all-day events. In an alternative embodiment, events 903 can be listed using other formats, such as by category, or alphabetically, for example. As in screen 315, the user can add events to his or her personal calendar by clicking on check boxes 904 and button 807.

[0106] Referring now to FIG. 10, there is shown a Day View 313 of a Favorite Events screen. Operation of Day View 313 is similar to that of Month View 315 and Week View 313, described above. Day view 313 shows events associated with a particular selected day.

[0107] In Day View 313, events are divided by category, denoted by category headings 1001. Events 903 are displayed for each event category heading 1001. Buttons similar to buttons 802 in Month View 315 and Week View 313 may be provided, allowing selection and de-selection of particular event categories for display. In one embodiment, an event category is only listed if it contains events within the day associated with the current display. In other words, in this embodiment, if there are no Cultural Events occurring on the day being displayed, the event category heading 1001 for Cultural Events will be omitted from the display.

[0108] In one embodiment, each event category heading 1001 button (not shown) providing a link to the Event Schedule for the category. This link takes the user to a screen, similar to that shown in FIGS. 7A and 7B, listing events belonging to the specified category. Underneath the heading 1001 is a list of individual events 903 belonging to the category. For each event 903, a date and description is provided, as appropriate. If applicable, a time of day may also be shown. If appropriate and available, a link may be provided to a more detailed description of the event. Finally, button 904 is also provided for adding the event to the user's personal calendar. Thus, as described above, the user can select individual events belonging to subscribed categories, for incorporation into his or her personal calendar. This provides improved flexibility, in that the user need not add an entire calendar and thereby possibly add events which are not of interest, but can tailor the personal calendar to his or her individual needs. In some embodiments, addition of all events in a category can also be provided without requiring individual selection of each event, by clicking on a button (not shown) associated with the category as a whole.

[0109] In one embodiment of the present invention, each subscribed category is color-coded, and individual events belonging to the category are tagged by a color flag matching the color of the category. Thus, in the example shown, the movie releases category may be associated with the color blue, and all movie release events would then include a small blue tag. One skilled in the art will recognize that other visual characteristics could be used to associate events with categories, such as a distinctive icon, font, or other technique.

[0110] Referring now to FIG. 11, there is shown a screen shot of a Day View of a My Calendar screen 307 according to one embodiment of the present invention. On this screen, the user is able to view and manipulate his or her personal calendar, containing events that have been previously selected from subscribed categories, as well as events that have been manually added by the user.

[0111] Navigation bar 507 provides access to other screens of system 100, as described above. Navigation bar 801 allows the user to select among a Day View 307, Week View 308-309, or Month View 310 of his or her personal calendar.

[0112] Date entry field 1104 allows the user to type in a date, and by clicking the Go button 1105, go to the My Calendar screen 307 for the indicated date. Options button 1106 takes the user to a screen (not shown) where preferences and personal options can be set. Help button 805 is a link to Help pages 326, and Log Out button 806 exits the system.

[0113] Add Appointment button 1101 allows a user to manually add an event or appointment to the personal calendar, using a screen similar to that shown in FIG. 14, described below. In this way, the invention can be used as a tool for integrating personal events and appointments in a calendar with selected events obtained from an outside source, by overlaying the two types of events as layers in a single calendar. In one embodiment, the user may also click on buttons 1102 to add an appointment at a particular time of day.

[0114] In an alternative embodiment, My Calendar page 307 may also include a list of Òto-doÓ and/or Òall dayÓ items for the day. These items generally do not have a specific time of day associated with them; rather, they are items that the user has entered to remind him or her of tasks to be performed sometime during the day. The user can add such items using the Add Appointment button 1101, in much the same way as appointments are added.

[0115] Also shown is a daily planner 1110 listing events and appointments 1112 for various times throughout the day. These events and appointments are obtained by reference to the user's personal records in database 112 reflecting a manually entered item (such as a lunch appointment), or they may be descriptive of events obtained from events database 114 representing event data from an outside source (such as, for example, a concert or movie). In one embodiment, events selected by the user from an outside source are replicated in the user's personal records in database 112, so that he or she can freely modify them. In another embodiment, events selected by the user from an outside source are not replicated, but rather a reference (or ÒpointerÓ) to the event in database 114 is stored in the user's personal records, allowing the invention to access the data describing the event from the outside source. One advantage to the latter technique is that any subsequent updates to the event can automatically be reflected by the application when the user views the My Calendar screen.

[0116] In one embodiment, the user can click on any event shown in list 1110 or in the list of Òall dayÓ events 1111, to be presented with a screen showing more detail on the selected event. The user may also edit the event if desired, as described below in connection with FIG. 14.

[0117] In another embodiment, a link may be provided for making a purchase associated with a particular event. For example, if the event is a concert, a link to an on-line ticketing service maybe provided, for purchasing tickets to the concert. The link can be targeted to a particular event within an electronic commerce site that sells tickets, so that the user need not re-enter the particulars of the event in order to purchase tickets. Alternatively, such an approach may be used to register for an event such as a tradeshow, by providing a link to a web page allowing the user to enter registration information, payment information, and the like. Where possible, certain fields of the web page may be pre-filled with default information based on a profile previously entered by the user and stored in database 112.

[0118] Similar techniques can be used for on-line sale of books, music, and the like, in connection with calendared events such as release dates. In one embodiment, the user may use the present invention to track birthdays, anniversaries, and the like; the system may then remind the user of such an event and provide the opportunity to buy cards, gifts, and the like, as well as provide direct links to electronic commerce pages and sites that are of interest in connection with the upcoming event. The system of the present invention can thus facilitate on-line commerce related to events that are of particular interest to the user.

[0119] In one embodiment, a subscreen 1109 may be shown when selected by the user, displaying a list of Favorite Events. Subscreen 1109 contains a section for each event category selected by the user. Individual events 1113 associated with each event category, and belonging to the current date, are displayed. The user can click a button 1114 to add an event 1113 to the personal calendar for display on the My Calendar screen 307.

[0120] In one embodiment, the user can select which categories of events are to be displayed in the My Calendar screen 307, so that he or she can view a subset of subscribed categories, if desired. This provides a multi-layering function, wherein each category can be considered a ÒlayerÓ that can be viewed in combination with other layers as selected by the user. The user can also select group calendars for display; events from such calendars are shown in the My Calendar screen as an additional ÒlayerÓ, if desired.

[0121] Referring now to FIG. 12, there is shown a screen shot of a Week View of a My Calendar screen 308 according to one embodiment of the present invention. Screen 308 operates in a similar manner as the Day View 307 described above in connection with FIG. 11. Events for a week-long period of time are shown, in list format 1202. Grid button 1205 provides access to a screen (not shown) that displays the week's events in a grid format. Links 1203 provide access to individual Day View screens for each day in the week. Buttons 1204 open a Favorite Events tracker subscreen similar to 1109 in FIG. 11, for displaying individual events within categories. Events 1112 are shown as links, which when activated access a detail screen for each event. Buttons 1101, 1102,1106, 805, 806, and 1105, and field 1104 operate in a manner similar to the corresponding buttons in FIG. 11.

[0122] Referring now to FIG. 13, there is shown a screen shot of a Month View of a My Calendar screen 310 according to one embodiment of the present invention. Screen 310 operates in a similar manner as the Day View 307 described above in connection with FIG. 11. Events for a month-long period of time are shown, in grid format 1302. Links 1203 provide access to individual Day View screens 307 for each day in the month. Events 1112 are shown as links, which when activated access a detail screen for each event. Buttons 1101, 1106, 805, 806, and 1105 operate in a manner similar to the corresponding buttons in FIG. 11.

[0123] Referring now to FIG. 14, there is shown a screen shot showing a My Calendar detail screen 311, containing detailed information describing an event. This subscreen can be used for entering information for a new event, or for making changes to information for a previously entered event. It is accessed by clicking on an event 1112 in screens 307, 308, or 310.

[0124] Event description 1401 contains several fields for displaying and making changes to various pieces of information concerning the event, such as a title 1402, date 1403, start time 1404, duration 1405, check box 1406 for all-day events, and recurring event information 1408, 1409, and 1410. A notes field 1407 is also provided for miscellaneous information. Fields 1402 to 1410 are populated with information from database 112 for manually-entered appointments, or with information from database 112 or 114 for other events. In alternative embodiments, other fields may also be provided, such as a reminder field for gift-related events, and the like. The selection of particular additional fields to be provided may be customizable.

[0125] In an alternative embodiment, screen 311 contains a link to another page allowing the user to perform other activities related to the scheduled appointment (such as an online purchase relating to the item).

[0126] Once the information has been entered, edited, and/or verified, the user can click on the Save Appointment button 1411 to save the entered information and return to the My Calendar screen. Alternatively, the user can click the Back button 1412 to cancel all changes made to the event and return to the My Calendar screen. Finally, the user can delete the appointment by clicking button 1413.

[0127] Application Implementation

[0128] Referring again to FIGS. 1 and 1B, the operation of application server 106 to implement the application will now be described. Generally, application server 106 responds to requests relayed by web servers layer 102. Generally, such requests are provided to server 106 in HTTP format. In response to such a request, server 106 optionally performs some action (if appropriate) and returns an HTML page to the user. In one embodiment, HTTP requests are relayed to a load balancer 105. Load balancer 105 dispatches the request to the appropriate process 108.

[0129] In one embodiment, each request is handled by a class in an object-oriented language such as C++. Server 106 inspects its registry to determine which class to invoke for each request. The Uniform Resource Locators (URLs) requests to server 106 contain the name or identification of the class that can handle the request.

[0130] To handle a request, server 106 creates an instance of the appropriate class and invokes its ÒExecuteÓ method. The parameters of the HTTP request are made available to the class as a name-value pair list in the base class. The Execute method parses the input parameters, performs actions, and generates HTML output.

[0131] Referring now to FIG. 16, there is shown a flowchart of the basic operation of the Execute method. The method performs the following actions:

[0132]1601: Calls the class's Init method. The default Init method provided by the base class handles user authentication 1601A, setup of sessions 1601B, and binding 1601C of common resources needed by the class.

[0133]1602: Calls the class's DoExecute method. The DoExecute method performs the actual work and returns HTML data. The actual DoExecute method to be performed is determined by the particular subclass being implemented, which typically overwrites the default DoExecute method.

[0134]1603: Calls the class's Finalize method. The default Finalize method releases 1603A session and default resources.

[0135] The DoExecute method for a particular class generally overrides the default DoExecute method 1602, and performs one or more of the following tasks:

[0136] Parse parameters included in the request into members of the class or temporary variables, as needed.

[0137] Perform some action by calling lower level service Application Programming Interfaces (APIs); for example, saving data to a database.

[0138] Output a componentized HTML document. This may be implemented, for example, by calling the template engine in conjunction with a Parts Map, as described in more detail below, along with user interface ÒpartsÓ and related helper classes to construct an HTML page.

[0139] The base class provides general purpose Init 1601 and Finalize 1603 methods for most classes. Classes that require login are automatically authenticated by the base class, freeing them from having to implement authentication redirect logic. The base class performs parameter checking to provide security by detecting invalid requests. The base class also performs logout operations when needed. In addition, the base class provides several general-purpose methods for handling, for example, building of URLs for redirection, saving temporary session data, and parsing simple parameters.

[0140] Referring now to FIG. 17, there is shown a flowchart of the user authentication process 1601A as handled by the base class. Classes that do not require authentication may circumvent this process by overriding a RequiresLogin method to return FALSE.

[0141] Two separate sessions are maintained for each user, in connection with the authentication process of FIG. 17:

[0142] a long-term session, managed by the load balancer and assigned a session ID (this session is automatically bound to future requests using browser cookies, as is known in the art); and

[0143] a calendar session, managed by a session manager (created upon authentication with the calendar service, assigned the same ID as the long-term session).

[0144] The base class first checks 1701 for an existing long-term session. If none exists, one is created 1702. The base class then retrieves 1703 the Session Id and looks up 1704 a calendar session having that ID. If a calendar session having the corresponding ID exists 1705, the user is authenticated 1706 and the authentication is checked 1707 to see if it is valid. If so, the user is allowed to proceed; he or she is redirected 1709 to his or her default calendar view and the authentication process ends. If the authentication is invalid, access is denied 1708.

[0145] If in 1705 no calendar session having the corresponding ID exists, the base class checks 1710 for an Òauto-loginÓ cookie on the user's machine. Auto-login allows users to return to the web site without having to login. The auto-login cookie contains the user's encrypted login name and password. If the cookie exists, the base class retrieves 1711 the login information. If the cookie does not exist, the user is redirected 1712 to a login screen. In one embodiment, the base class saves the original URL that the user was trying to access. The user is then prompted 1713 to enter login information.

[0146] Login information from the auto-login cookie or from the user's entry is checked 1714 for validity. If it is valid, the base class creates 1715 a calendar session for the user, and the user is allowed to proceed. If a URL was previously saved (in 1712) the user is redirected 1709 to that location; if not, the user is redirected 1709 to his or her default calendar. If in 1714 the login information is invalid, the user is denied access 1716.

[0147] In addition, in one embodiment a user may be automatically logged out by the session manager if they remain idle for some predefined period of time, or when the server is heavily loaded. In this case, the user must login again when he or she returns.

[0148] Referring now to FIG. 18, there is shown a block diagram of the operation of a template processor 1804 to generate an HTML file. This technique is used in one embodiment of application server 106, with the template processor operating as part of a process 108 to generate output for presentation to the user. Template source file 1801 contains HTML and process tags. Processor 1804 uses process tags to determine what items in file 1801 need to be replaced with dynamic data.

[0149] Template map object instance 1802 is used by processor 1804 to implement simple replacement of identifiers in source file 1801. Map 1802 contains a list of name-value pairs. For each process tag in file 1801, processor 1804 consults map 1802 for the name specified in the tag. If the name is found, the value associated with the name is inserted in place of the process tag.

[0150] Template data object instance 1803 is used by processor 1804 to fill in data elements in a template file. For example, object instance 1803 may contain a list of items with attributes, such as events, calendars, and the like. Processor 1804 uses object instance 1803 to iterate through a set of data, replacing process tags with the attributes of the elements.

[0151] Thus, to process a template source file 1801, processor 1804 scans through file 1801 for process tags. When it finds such a tag it requests values from template map object instance 1802 and template data object instance 1803. These values are used to replace the process tags. Processor 1804 also uses template data object instance 1803 to iterate over data sets referenced by process tags.

[0152] For example, consider a source file 1801 containing the following source:

[0153] <process type=cell id=UserName>ReplaceMe</process>

[0154] <process type=tile id=events>

[0155] <process type=cell id=events.title>Event Title</process>

[0156] <process type=cell id=events.date>12/31/1999</process>

[0157] </process>

[0158] Processor 1804 would scan through the file and first find the UserName cell tag. The type cell indicates that a simple replacement should be done, with data from either the template map 1802 or the template data object 1803. Template map 1802 is checked first for a UserName element. If no value is found there, template data object 1803 is checked. If a value is found, the text ÒReplaceMeÓ is replaced with the value. If no value is found the text ÒReplaceMeÓ remains intact.

[0159] Processor 1804 would then find the process tag with the keyword events. The type tile indicates that processor 1804 should loop over a data set contained in template data object 1803. The keyword events identifies which data set to use. Processor 1804 calls the following methods of the template data object 1803:

[0160] IsEmpty: Determines if the data set events is present in template data object 1803;

[0161] MoveNext: Moves to each element in the events data set, returns FALSE when there are no more elements;

[0162] GetValue: Retrieves individual attributes from the current data element in events.

[0163] Thus, in the example given above, processor 1804 would call MoveNext for as many events included in the events data set. Processor 1804 would then call GetValue to obtain the events.title and the events.date attributes for each element in the data set.

[0164] Once processor 1804 has processed all of the process tags in source file 1801, it generates an HTML file 1805 which can be passed to the user and read by a browser.

[0165] Operation of processor 1804 will now be described in more detail. Referring now to FIG. 19, there is shown an example of a document template 1900 containing several parts, including header part 1901, tabs part 1902, navigation part 1903, day grid part 1904, event tracker part 1905, and footer part 1906. Parts 1901-1906 are modular user interface components used to implement and generate the various pages for the present invention. Thus, an HTML document is modularized into parts that can each be generated by a distinct class 2001 run by application server 106.

[0166] Referring also to FIG. 20, there is shown a block diagram of the detailed operation of template processor 1804 to generate HTML output 1805.

[0167] To implement the component model exemplified by document template 1900, two levels of template evaluation are used:

[0168] Document-level template evaluation (controlled by the class) specifies which user interface components (parts) are included in a particular document, and how they are to be laid out. A document-level template 1900 is used for this purpose. In addition, the template may include some common formatting and style elements.

[0169] Part-level template evaluation (controlled by the parts within a document) is used to evaluate each part in the document by consulting a part template file 2006. The HTML data 1805 is then generated for that part's particular area in the document.

[0170] For each document, a single document-level template evaluation is performed, and any number of part-level template evaluations are performed.

[0171] In the document-level template 1900, custom process tags are employed to specify parts to be included in the document. For example, the following example contains three parts:

[0172] <process type=whenHeader title=“My Calendar Day View”>Replace Text</process>

[0173] <process type=whenTab template=myCalendarTab.html>Default Text</process>

[0174] <process type=whenFooter>Replace Text</process>

[0175] Part map 2002 translates each part tag into a section of HTML. Part map 2002 is passed by classes 2001 to template engine 2005 when document-level template evaluation takes place. Parts map 2002 acts as a dispatcher, interpreting custom tags and supplying needed parts classes from parts library 2003. When engine 2005 requests that parts map 2002 translate a custom tag, map 2002 dispatches control to an instance of the appropriate part class from parts library 2003 by calling its Output method.

[0176] The Output method of each part generates the HTML that represents its user interface component in the document. Template engine 2005 replaces the custom process tag with the HTML data generated by the Output method. Most parts use the template engine 2005 to create their HTML output, in order to implement part-level template evaluation. The part-level evaluations actually cause re-entrance of template engine 2005 since the part evaluates its template 2006 during a callback from document-level template processing.

[0177] Template class 2001 contains the IsEmpty( ), MoveNext( ), and GetValue( ) methods described earlier.

[0178] Thus, for example, in implementing a calendar-oriented parts, the following elements are employed:

[0179] Part template file 2006: contains the HTML and process tags for creating the part output.

[0180] Part class implementation in template class 2001: A C++ class that implements the Output method. This class embodies the presentation logic of the part, and may defer to helper classes for core presentation algorithms.

[0181] The template class 2001 may perform any of the following, for example:

[0182] Establishing references to the cache of user data from the session manager.

[0183] Establishing a context object for communicating with the calendar engine.

[0184] Finding the data needed during template evaluation (including, for example, accessing the calendar engine to obtain lists of events for all the days being displayed).

[0185] Parsing input parameters received with the HTTP request into arguments used during template evaluation (such as, for example, start date, end date, calendar ID, event IDs, and the like).

[0186] Optionally creating a Template Map class and populating it with name-value pairs used for replacement during template evaluation.

[0187] Invoking template engine 2005, passing it the template file name, template map, and custom template data object.

[0188] The template class 2001 objects may perform any of the following, for example:

[0189] Provide convenient constructors for evaluation by the part. The constructor accepts arguments needed during template evaluation. The constructor may also validate data and transform it into a more usable form.

[0190] Override the IsEmpty( ) method for the data set that the template data serves. A single template data class object may serve more than one data set. For example, the Day Grid part's Template Data class serves two data sets: a collection of all-day events and a collection time intervals. IsEmpty( ) is called by template engine 2005 when it begins processing a data set. IsEmpty( ) determines whether there is any data in the set, and if so, position itself to point to the first element in the data set.

[0191] Override the MoveNext( ) method to move to the next available element in the data set. If there are no more elements, MoveNext( ) returns FALSE. Template class 2001 may implement MoveNext( ) by incrementing an internal counter or by advancing the position of an event list obtained from the Calendar Engine.

[0192] Override the GetValue( ) method to return values for each attribute of the current data element. This may include accessing methods of calendar engine objects, formatting them, and returning them in a buffer. GetValue( ) is also used to show or hide areas in a template. By returning a null string, GetValue( ) can effectively hide a section of the template. This may be used to implement conditional template evaluation.

[0193] Classes 2001 and Parts 2002 access the data they require prior to starting template evaluation. Generally, such data includes lists of events obtained from calendars. Other types of data that may be required include, for example, user profiles, calendar attributes, lists of tracked calendars, weather information, and the like. The calendar service serves up most of the data required by the user interface presentation logic.

[0194] Session Management

[0195] As described above in connection with FIG. 1B, application implementation element 121 includes session management 123 which authenticates, tracks, and manages user sessions for calendaring operations, and stores a cache of user and calendar data as needed to maintain sessions. The operation of session management 123 will now be described in more detail.

[0196] Referring again to FIGS. 1A and 1B, when a user is authenticated, a session is created, as is known in the art of web application development. The session exists until either the user logs out or the session expires. In one embodiment, a session expires when the user remains idle for a certain time period as specified in system configuration files.

[0197] Sessions serve two primary purposes: 1) they obviate the need for re-authentication of the user with each web page access; and 2) they facilitate the use of a cache to store data (such as calendar data) in order to avoid unnecessarily retrieving the same data repeatedly from databases 112 or 114. In one embodiment, only one thread 115 of a process 108 may access a session object at any given time. Other requests to access a session object are blocked until the thread 115 that is currently accessing the object is done. This technique reduces the amount of thread safe checks needed to assure data integrity.

[0198] When a user logs on and a session commences, certain information may be pre-fetched from database 112 and transferred to user cache 109, so that subsequent access to this data will be faster. The pre-fetching occurs immediately after login and, preferably, prior to the user accessing his or her calendar. The pre-fetching need not be complete for the user to access his or her calendar.

[0199] Periodically, session management 123 prunes the list of stale sessions by removing sessions that have been idle for longer than a specified time-out period, specified in predefined configuration information. In addition, in periods of high load session management 123 may remove a session before the time-out period is reached, as further specified in the configuration information. A user attempting to access the system after his or her session has been removed must logon once again to re-establish a session.

[0200] Calendar Service 124

[0201] As described above in connection with FIG. 1B, application server 106 includes calendar service 124 which: implements the core object model for accessing user profiles, calendars, events, calendar links, and collections of objects; implements event lookup, object caching, and persistence; and serves both personal calendars and event directory data using a common object model. The operation of calendar service 124 to implement the present invention will now be described in more detail.

[0202] Referring now to FIG. 21, there is shown a block diagram of calendar service 124 according to one embodiment of the present invention. Calendar service interface 2101 defines the contract between calendar service 124 and the application servers layer 103 of system 100, or of any other client of service 124. Core calendar engine 2102 implements the core algorithms and logic of the calendar engine. Data access layer 2103 provides the persistence behavior of all objects in calendar service 124. It implements access to both relational data 2104 (user data) and memory resident data 2105 (event directory).

[0203] Calendar Service Interface 2101.

[0204] Calendar service 124 provides the programming interface for accessing objects. In one embodiment, these objects are the only interface to calendar service data that is available to application servers layer 103 or any other client of service 124. These objects include, for example:

[0205] User Account: Contains a user's profile, personal calendar, referenced calendars, and display preferences. The user account is the primary object stored in the cached session object.

[0206] Calendar: Provides the common interface to calendars of all types (both personal and event directory schedules). Calendars are containers for individual events, and they interact with Event List and Day List objects to provide access to the events they contain.

[0207] Event: Provides a common interface to events of all types, including personal events, event directory events, and linked events. The same class is used to represent recurring and non-recurring events.

[0208] Calendar Link: Represents some relationship between a user and a calendar. For example, there may be a ÒtrackingÓ relationship for the event tracker, as described above. A calendar link provides access to the underlying calendar object instance.

[0209] Day Link: Provides a convenient collection of events partitioned by day. The day list contains a set of Event List object instances-one for each day within a certain date range. Can also be used as an iterator to traverse through the contained Event Lists one at a time.

[0210] Event List: Provides a collection of events sorted in various ways (such as by date, title, and the like). Can also be used as an iterator to traverse through the contained events one at a time.

[0211] Calendar List: Represents a collection of ÒlinkedÓ calendars. Contains a set of Calendar Link objects. Each Calendar Link points to a Calendar object instance. The Calendar List can be sorted by various means.

[0212] Sponsor/Category/Partner: Provides the interface to both sponsor and category information. A calendar can have an associated sponsor as well as an associated category and an associated partner, if desired.

[0213] Object Ownership Hierarchy 2200.

[0214] Referring now to FIG. 22, there is shown an example of an object ownership hierarchy 2200. Calendar service 124 provides a global calendar manager object 2201. Calendar manager object 2201 is the starting point for accessing objects in calendar service 124. In one embodiment, all calendar service objects are indirectly created through calendar manager object 2201.

[0215] Calendar service 124 employs an object ownership hierarchy to control the life cycles of objects. For example, event objects are owned by a single calendar object. The calendar object acts as a container for each event, and also controls the access rights, modification, deletion, and creation of the event.

[0216] In FIG. 22, calendar manager 2201 serves up both user account objects 2202 and public calendar objects 2206 (event directory). For user accounts, authentication is required before access to a user account is granted. This can occur either via user login or by creation of a new user account, as described previously. Once a user account object 2202 has been crated, it is possible to access the user's personal calendar object 2204, tracked calendar links 2203, and personal profile through the user account object 2202 instance.

[0217] For public calendars, authentication is not required. Calendar manager 2201 searches for the desired calendar and returns an object instance that provides access to the calendar's events and attributes 2206 and 2207.

[0218] Access Control.

[0219] Access to calendar service objects and methods is controlled in two ways:

[0220] Explicit access checking: Certain operations require that the caller's identity be explicitly compared with the access permissions of the object being requested. For example, calendar manager 2201 requires a valid login name and password before it will create a user account instance 2202.

[0221] Implicit access: Access to some objects is controlled indirectly by relying on some previous explicit access check. For example, once access to a user account has been granted, the caller is free to access the contents of the associated personal calendar and calendar links without further access checks. This is implemented using session management, as described previously.

[0222] Access control is implemented using a context object. Calendar manager 2201 creates context objects for callers of calendar service 124. Operations that require an explicit access check are defined to take a context parameter. The context identifies the user performing the operation and the access level of that user. Calendar objects check the context permissions against the operation being performed to ensure appropriate access. In this way, security leaks can be avoided even when the application code contains a programming bug.

[0223] Object Creation and Modification.

[0224] Objects are created and modified by their owning parent object, according to the defined hierarchy. Internally, objects implement their own interfaces.

[0225] Parent objects control the modification, deletion, and creation of objects they contain. This allows the parent to modify its internal structures when its contents change. Furthermore, the implementation class can be hidden from clients of calendar service 124, so that parent objects act as an object factory for objects they contain.

[0226] Creating a new object involves two steps. First, the caller requests a new instance of an object type from the parent. The parent creates a new modifiable object instance and returns it to the caller. The object instance does not yet persist in the calendar service database. Second, the caller requests an ÒupdateÓ of the contained object from the parent. The object may be an existing object or a new object. The caller implements the update by writing changes to the database and updating its internal structures. For example, when a calendar updates a recurring event, it may need to recreate the expanded event instances due to a change in the recurrence rule.

[0227] When deleting an object, the caller merely asks the parent to delete the contained object.

[0228] Releasing Objects.

[0229] As described previously, parent objects provide the means to access instances of their contained objects. Parent objects also control the release of their contained objects. When a client of service 124 is finished with a calendar service object, it notifies the parent, which releases the object instance.

[0230] This allows the implementation of calendar objects to be hidden from clients, so that the constructors and destructors of object classes are restricted (protected). Thus, the parent object can implement object memory and resource management in any manner desired.

[0231] Calendar Types and Domains.

[0232] In one embodiment, calendar service 124 provides a single interface class for calendars. This interface class is used for both personal calendars and event directory schedules (public calendars) even though they have different attributes and persistence models. Calendar service 124 provides the concept of a ÒdomainÓ for any object in the system. This domain is used, for example, to distinguish between personal and public calendars and events.

[0233] Accessing Calendar Contents.

[0234] Calendar service 124 provides two types of access to events in calendars. Each access type has several variations, to support the needs of application servers layer 103.

[0235] The first type of event lookup serves a series of events in a Day List. A Day List is a list of event lists. Each list contains a set of events for a single day. The Day List contains an event list for each day in its date range (for example, a week of events would be sorted into seven event lists). The Day List lookup is convenient for displaying calendar-oriented views of events, since it is very easy to determine the number of events on any given day within the date range. The Day List lookup interface is implemented by a Day List object. Callers use a SetTimeSpan( ) method to generate the list of event lists from either a calendar or a list of calendars.

[0236] The second type of event lookup serves events for a specified date range in one contiguous event list object. The Event List lookup is used to display lists of events (such as for pages 307 and 308) rather than calendar-oriented displays (such as pages 309 and 310). The Event List lookup interface is implemented by a Calendar class. Callers use a GetEventList( ) method to obtain an aggregate event list. Variations of GetEventList( ) include:

[0237] Date Range: Returns all events from a calendar within a specified date range.

[0238] Page Number: Returns a certain page of events starting from a specified date. A page is defined to be a certain number of events. For example, if the page size is 50, then page 2 would return an event list containing events 51 through 100 starting on the specified date.

[0239] Layered Calendar Views.

[0240] Layered Calendar Views display the contents of multiple calendars on a single calendar display such as Views 307, 308, 309, or 310. Layered Calendar Views are implemented by calendar service 124 as a Day List object that contains events from multiple calendars. More specifically, the Event Lists contained by the Day List contain events from multiple calendars.

[0241] The Day List class implements the Layered Calendar View. Callers use a SetTimeSpan( ) method of the Day List and pass it a calendar list specifying all the calendars to be included in the display.

[0242] Core Calendar Engine 2102.

[0243] Core calendar engine 2102 implements the core algorithms and logic of calendar service 124, including:

[0244] Object creation, deletion, and modification;

[0245] Control of object persistence operations;

[0246] Event lookup for day lists and event lists;

[0247] Object collections and sorting;

[0248] Event caching;

[0249] Time-zone translation of events; and

[0250] Expansion of recurring event instances from recurrence rules.

[0251] Interface and Implementation Classes.

[0252] As described previously, calendar service interface 2101 defines a set of classes that define the contract between application servers layer 103 and calendar service 124. Core calendar engine 2102 returns instances of these classes to the caller.

[0253] In one embodiment, the implementation of these objects is achieved by calendar service 124 defining a set of ÒengineÓ subclasses that embody the implementation. The implementation classes are collectively referred to as the CE Layer classes, while the interface classes are known as the CI Layer classes.

[0254] Calendar Manager 2201.

[0255] Calendar Manager 2201 is a global object, created at service startup. It creates and manages user accounts, public calendars, partner objects, and context objects.

[0256] Many calendar service operations use a context parameter to validate the access rights of the caller. In one embodiment, a context object is employed to embody access information. The context object includes, for example:

[0257] The User ID of the person initiating the request (a User ID of zero indicates guest access).

[0258] Access Mode: Provides information as to the access rights of the user.

[0259] Reference to the template class making the request.

[0260] Reference to a database transaction object.

[0261] Contexts can be created as follows:

[0262] CreateGuestContext returns a context object with guest access rights. The guest rights are not associated with any particular user.

[0263] LoginNewUser creates a context object as part of new account creation. The context has the access rights of the new user account that is created.

[0264] LoginUser creates a context object as part of the login process. The context object has the access rights of the user account that is authenticated.

[0265] A context object can be used for any number of calendar service 124 operations. In one embodiment, state information is not maintained in the context. Session management 123 caches a context object in user session data for all calendar service operations during the life of the user session.

[0266] User Account Login and Registration.

[0267] As described previously, the LoginNewUser and LoginUser methods control user registration and login respectively. LoginNewUser creates a new user account implementation object (CDUserAccount class), fills in the profile information, and saves the account object to the user database. The account object creates itself and a set of other objects associated with the user account (personal calendar object, calendar links list).

[0268] Calendar manager 2201 provides access to the event directory calendars via the GetCalendar method. GetCalendar takes a calendar ID and returns a calendar object. In one embodiment, event directory calendars are obtained from calendar manager 2201, while personal calendars are accessed from a user account object.

[0269] To implement public calendar lookup, calendar manager 2201 creates an instance of a public calendar (class CDPublicCalendar), initializes it with the requested calendar ID, and instructs the calendar object to load itself from the database. The CDPublicCalendar class implements the database lookup as described below.

[0270] On return from GetCalendar, the caller has a pointer to a calendar interface object (class CICalendar). Typically, the caller releases public calendar objects once the template class request has been processed. This is the case for Event Directory pages. However, Public Calendar instances are used to represent a user's tracked calendars. In this case, the Public Calendar instances are cached by the user account object—one for each tracked calendar.

[0271] Calendar manager 2201 also serves partner objects. The partner object is a denormalized object containing information about categories and sponsors. Category/sponsor information is referenced by calendars in the event directory. Attributes of the category/sponsor are used in the various pages of the user interface (for example, sponsor name, logo, URL, and the like).

[0272] At startup, calendar manager 2201 loads all partner objects from the database and caches them in memory. Calendar manager 2201 provides a single call to get a partner object by ID. Public calendars use this call to return their associated partner object.

[0273] User Account Implementation.

[0274] In one embodiment, user accounts 2202 contain all information associated with a particular user within calendar service 124. User account 2202 is the attachment point for all user data and is the primary object stored in the session cache 109. User account 2202 provides access to the user's personal calendar, the linked calendars (favorite events), and the user's profile information.

[0275] User account 2202 provides sole access to a user's personal calendar. Personal calendar object 2204 is created by user account 2202 at registration or login. Personal calendar 2204 has no attributes of its own and is therefore not actually stored in the database. Rather, personal calendar 2204 is an instance of a calendar object that manages a set of events

[0276] Calendar link 2203 defines a relationship between user account 2202 and a calendar. The relationship can have a type, such as a Òtracked calendarÓ relationship. Calendar links 2203 can be used to denote other types of relationships between users and calendars as well.

[0277] User account 2202 manages the set of all calendar links 2203. It controls the creation, modification, and deletion of link objects, and controls their persistence operations, but in one embodiment does not implement them. When a user account 2202 is loaded, it performs a query for all calendar links 2203 and loads them into an internal list. User account 2202 provides an interface to obtain a copy of the list of calendar links 2203. The list can be sorted in any of a number of ways. Each list copy references the same object instances.

[0278] The attributes of a user account 2202 fall into two categories: profile attributes and application settings. Profile attributes define the user's demographics and core account information. The user account 2202 provides methods to change profile attributes. These changes are made to a modifiable instance copy of the user account 2202 object, obtained from calendar manager 2201. Changes to profile attributes are saved immediately in the database.

[0279] Application settings are fields that control the behavior and appearance of the application. These may include, for example:

[0280] the order of events in the event tracker;

[0281] the expand/collapse state of categories in the event tracker; and

[0282] the minimize state of the event tracker.

[0283] Some application settings are saved immediately when changed, while others are saved when the user's session expires through either explicit logout or session time-out.

[0284] The user account implementation class provides a protected method (FlushDeferredChanges) which calendar manager 2201 uses to save application settings prior to deleting the user account object. Deferred write is used in order to minimize database accesses for common application customizations.

[0285] Calendar Implementation.

[0286] In one embodiment, calendar service 124 supports two types of calendars: 1) personal calendars, which contain user-specific private data loaded directly from database 112; and 2) public calendars, which represent schedules in the event directory database 114 which are accessible by any user and whose data is referenced from the shared memory event cache 110.

[0287] In one embodiment, the difference between the two types of calendars is the persistence mechanism used to inflate and deflate the calendar and event objects from the two domains.

[0288] Before events are served up by the calendar, they are loaded into memory as a set of event object instances. Calendar service 124 maintains an internal event list collection object containing object instances for all event occurrences whose dates fall within the loaded date range, including each instance of a recurring event that falls within the loaded date range. The cached event instances are also translated to the calendar's target time zone and sorted by time.

[0289] A calendar implementation class controls the loading and unloading of events over the loaded date range. The calendar implementation class implements a simple loading model which enforces a contiguous range for this date range. The maximum size of the date range is specified in server configuration files, for example as 50 days. The minimum load range size is also specified in server configuration files, for example as 10 days. The minimum load range size defines the ÒchunkÓ size for database queries.

[0290] Cache 110 serves to optimize performance by minimizing database accesses to personal calendar. Furthermore, cache 100 pre-sorts events by date and time for the target time zone, as will be described below.

[0291] Each calendar has the notion of a Òzone focus.Ó The zone focus is set by the client of calendar service 124 based on the time zone of the user's display. For event directory pages, the zone focus is set to the default time zone for the calendar being viewed. The zone focus for personal calendars is the user's time zone as specified in his or her profile. This is also true for ÒtrackedÓ public calendars (calendars which are displayed with or over the personal calendar).

[0292] When a calendar loads its events it also translates the events to its zone focus. This is done so that the calendar's internal event list can be presorted based on the target time zone. Event list sorting is done when the target time zone is known. All-day events do not shift across date boundaries as do events having a specific start time. Pre-sorting the internal cache by date allows event lookups to be highly optimized, requiring no list duplication or sorting.

[0293] Recurring Events.

[0294] A pattern of recurring events can be stored in one database row in database 112 or 114. The individual occurrences of the recurring pattern need not be stored individually. Recurring patterns are stored in a table separately from non-recurring events.

[0295] Calendar service 124 loads all recurring patterns from the database the first time the calendar is loaded. The recurring patterns are saved as event object instances in a separate internal recurring event list. When calendar service 124 loads events, it also generates individual event instances from the list of recurring patterns. Thus, calendar service 124 creates an event object instance for every occurrence of each recurring pattern whose date falls in the loaded date range. These recurring event instances are placed in the internal cache in the same manner as non-recurring events.

[0296] Each recurring event instance is assigned a unique ID which is a combination of: 1) the event ID of the recurring pattern from which the instance was generated; and 2) the Julian date assigned to the recurring instance. The combined ID is used to uniquely identify recurring event instances by clients of calendar service 124.

[0297] When the user modifies the pattern of a recurring event (for example, changes from repeat daily to repeat weekly), calendar service 124 performs the following steps:

[0298] 1) Delete all the existing recurring event instances associate with that patter from the internal cache;

[0299] 2) Create new recurring event instances in the internal cache based on the modified pattern; and

[0300] 3) Save the recurring pattern to the database.

[0301] Furthermore, calendar service 124 is equipped to handle a change from a recurring event to a non-recurring event, or vice versa. For example, if a user wishes to change a recurring event to a non-recurring event, calendar service 124 performs the following steps:

[0302] 1) Delete all recurring event instances associated with that pattern from the internal cache;

[0303] 2) Delete the recurring pattern ÒmasterÓ event from the internal pattern cache;

[0304] 3) Delete the database row associated with the ÒmasterÓ event pattern;

[0305] 4) Insert the non-recurring database row for the event; and

[0306] 5) Create and possibly insert the new event object instance into the internal cache.

[0307] A similar but opposite set of actions is performed when converting a nonrecurring event to a recurring event.

[0308] From the above description, it will be apparent that the invention disclosed herein provides a novel and advantageous system and method of multi-layered online calendaring and purchasing. The foregoing discussion discloses and describes merely exemplary methods and embodiments of the present invention. As will be understood by those familiar with the art, the invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims. 

1. A computer-implemented method for multi-layered online calendaring, comprising: a) accepting user input specifying at least one of a plurality of categories; b) retrieving a plurality of events associated with the specified category, each event having a date; c) selectively displaying a date-delimited subset of the retrieved events associated with the specified category; d) accepting user input selecting at least one of the displayed events; and e) adding the selected event to a computer-implemented personal calendar.
 2. A computer-implemented system for multi-layered online calendaring, comprising: a user input device for accepting user input specifying at least one of a plurality of categories, and for accepting user input selecting at least one of a plurality of displayed events; an event retrieval module, coupled to the user input device, for retrieving a plurality of events associated with the specified category, each event having a date; a display module, coupled to the event retrieval module, for selectively displaying a date-delimited subset of the retrieved events associated with the specified category; and a personal calendar storage device, coupled to the user input device, for adding a selected event to a computer-implemented personal calendar.
 3. A multi-layered online calendaring method, comprising the steps of: specifying categories of events; viewing events belonging to specified categories from outside sources; adding selected events from the outside sources to a personal calendar; and choosing which categories of selected events are to be displayed.
 4. The method of claim 3, further comprising the step of: sharing any of said personal calendar, selected events, and categories.
 5. The method of claim 3, further comprising the steps of: setting up a group calendar; and specifying members in said group; wherein every group member can access said group calendar and make changes to it.
 6. The method of claim 5, wherein different levels of access can be specified for different members of said group.
 7. The method of claim 3, further comprising the step of: importing events from other calendars.
 8. The method of claim 3, further comprising the step of: effecting purchases of any of products, services, and tickets using links associated with displayed events.
 9. A calendar method, comprising the steps of: logging onto a calendaring system by providing a unique login name and password that identifies a user and that allows retrieval of said user's personal calendar and associated information; once the user is logged in, entering any of a plurality of different areas said to perform different types of activities; and providing an event tracker to allow said user to select categories of events that are of interest; wherein said event tracker allows said user to view events associated with selected categories to obtain more details concerning such events, and to add events selectively to said user's personal calendar.
 10. The method of claim 9, further comprising the steps of: providing a calendar area with several views of said user's personal calendar, including any of events that were selected using said event tracker and events that have been manually added by said user; wherein, in said calendar area, said user can view and manipulate any of these events.
 11. The method of claim 9, further comprising the step of: providing a “what's new” area for alerting said user to new categories and events that may be of interest; wherein said “what's new” area may also be used to emphasize particularly important events.
 12. The method of claim 9, further comprising the step of: providing an event directory having listings of event categories, optionally arranged by area of interest; wherein event categories optionally include any of movie opening dates, sporting events, and computer tradeshows.
 13. The method of claim 12, wherein users can develop their own event categories and share them with other users by publishing them on said event directory; wherein said user can select any event category and view a list of events belonging to that category; and wherein additional information can be obtained for each of said events.
 14. The method of claim 12, wherein said user can choose to select any event categories for inclusion in said event tracker; and wherein said user can also select a localized option which restricts events to those located in any of said user's city, state, or other region.
 15. The method of claim 9, wherein said event tracker displays a list of events belonging to said selected categories; wherein said user can select from several different views of displayed events and can also choose to view any of on category at a time and all categories at once; and wherein events can be sorted by any of date and by category, as desired.
 16. The method of claim 15, wherein said user can add a particular event to said personal calendar.
 17. The method of claim 15, wherein said user can effect online ordering and purchasing of any of products, services, and tickets as appropriate for a particular event.
 18. A configurable personal calendar, comprising: any of user selectable daily, weekly, and monthly views; user selectable categories of events to be displayed; and a multi-layered calendar, where each layer corresponds to an event category; wherein viewing multiple categories simultaneously provides an integrated personal calendar showing all events in one place.
 19. The calendar of claim 18, wherein said user can add appointments and other events manually in a my calendar area; and wherein such events are displayed alongside events that were selected in a event tracker.
 20. The calendar of claim 18, wherein said user can also specify that he would like to be notified by any of email and some other communications means when an event is about to occur.
 21. The calendar of claim 18, wherein said user can specify whether he would like to share said personal calendar with other users. 